﻿using System.Collections.Generic;

namespace Tomato.Allure
{
	public interface IDocuments : IEnumerable<IDocument>
	{
		int Count { get; }
		IDocument this[ int index ] { get; }
		IDocument this[ string documentName ] { get; }

		IDocument Add( string kind );
		void CloseAll( SaveChanges saveChanges );
		IDocument Open( string documentFilePath, string kind, bool bReadOnly );
		void SaveAll();
	}
}
